extended integer meta
Source: /avail/Avail/Foundation/Early Math
Categories: Integers, Types, Queries
Is the upper bound of the argument inclusive?
Note that integer ranges canonize each bound as inclusive unless the bound is ±∞
. So (3..6)
is really [4..5]
and will answer true if asked whether its upper bound is inclusive. But [0..∞)
will answer false if asked whether its upper bound is inclusive.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | range | extended integer meta | An integer range. | |
Returns | boolean | false if the upper bound is infinite and exclusive, true otherwise. |